package cn.itcast.service.impl;
import java.util.List;

import cn.itcast.mapper.UserDao;
import cn.itcast.domain.Category;
import cn.itcast.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao dao;

    public List<Category> findAll() {
        return dao.findAll();
    }
}
